package dataStruct.queue.ex3;

/**
 * Created by thinkpad on 2016/9/16.
 */
public class ThreadMsgInfo {
    public ThreadMsgInfo(MsgBody msgBody, State state) {
        this.msgBody = msgBody;
        this.state = state;
    }

    public MsgBody getMsgBody() {
        return msgBody;
    }

    public void setMsgBody(MsgBody msgBody) {
        this.msgBody = msgBody;
    }

    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }

    private MsgBody msgBody;
    private State state;
}
